/**
 * OCLC, Inc.
 *
 * OCLC proprietary information: the enclosed materials contain
 * proprietary information of OCLC Online Computer Library Center, Inc.
 * and shall not be disclosed in whole or in any part to any third party
 * or used by any person for any purpose, without written consent of
 * OCLC, Inc.  Duplication of any portion of these materials shall
 * include this legend.
 *
 * PlayerNone
 *
 * @author Jackie Gleason
 * @version 1.0
 */
package org.oclc.presentations.nonetransient

import javax.xml.bind.annotation.XmlAccessorType
import static javax.xml.bind.annotation.XmlAccessType.NONE
import javax.xml.bind.annotation.XmlRootElement
import javax.xml.bind.annotation.XmlAttribute
import javax.xml.bind.annotation.XmlElement
import javax.xml.bind.annotation.XmlType
import javax.xml.bind.annotation.XmlTransient

@XmlRootElement(name="PoolPlayer")
@XmlAccessorType(NONE)
//@XmlType(propOrder=["rank","id"])
class PlayerNone {
    @XmlAttribute
    //@XmlTransient
    private String name
    @XmlElement(name="PlayerID")
    private Integer id
    @XmlElement(name="PoolRank")
    private Integer rank

    //@XmlAttribute
    @XmlTransient
    public String getName(){
        return "Jackie Gleason";
    }
    public void setName(String value){
        name = value;
    }
}
